package com.gs.xbinfomytest.entity.dsl;

import com.gitee.hengboy.mybatis.enhance.dsl.expression.ColumnExpression;
import com.gitee.hengboy.mybatis.enhance.dsl.expression.TableExpression;
import com.gs.xbinfomytest.entity.SysJobLog;

/**
 * 定时任务调度日志表
 * @author ApiBoot Mybatis Enhance Codegen
 */
public class DSysJobLog extends TableExpression<SysJobLog> {

    public DSysJobLog(String root) {
        super(root);
    }

    public static DSysJobLog DSL() {
        return new DSysJobLog("sys_job_log");
    }

    /**
     * 任务日志ID
     */
    public ColumnExpression jobLogId = new ColumnExpression("job_log_id", this);
    /**
     * 任务名称
     */
    public ColumnExpression jobName = new ColumnExpression("job_name", this);
    /**
     * 任务组名
     */
    public ColumnExpression jobGroup = new ColumnExpression("job_group", this);
    /**
     * 调用目标字符串
     */
    public ColumnExpression invokeTarget = new ColumnExpression("invoke_target", this);
    /**
     * 日志信息
     */
    public ColumnExpression jobMessage = new ColumnExpression("job_message", this);
    /**
     * 执行状态（0正常 1失败）
     */
    public ColumnExpression status = new ColumnExpression("status", this);
    /**
     * 异常信息
     */
    public ColumnExpression exceptionInfo = new ColumnExpression("exception_info", this);
    /**
     * 创建时间
     */
    public ColumnExpression createTime = new ColumnExpression("create_time", this);
    @Override
    public ColumnExpression[] getColumns() {
        return new ColumnExpression[]{jobLogId, jobName, jobGroup, invokeTarget, jobMessage, status, exceptionInfo, createTime};
    }

}

